package client;

import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;


public class Main {

	public static void main(String[] args) throws UnknownHostException, IOException {
		
		
		InetAddress ip = InetAddress.getLocalHost(); // 服务器的ip
		
		System.out.println(ip);
		
		Client myClient = new Client(ip); // 客户端处理
		
		MyJFrame window = new MyJFrame(myClient); // 打开窗口

	}

}
